package com.starry.db.core.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 拓展多租户的 BaseDO 基类
 *
 * @author xiaoke
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TenantBaseEntity extends BaseEntity {

    /**
     * 多租户编号
     */
    @Schema(description = "租户id")
    private Long tenantId;
}
